import Vue from 'vue'
import App from './App'
import router from './router'
import axios from "axios"
import VueAxios from "vue-axios"
import qs from "qs"

//设置请求的根路径
axios.defaults.baseURL = "http://localhost:8001/"

Vue.config.productionTip = false

Vue.use(axios,VueAxios)
Vue.prototype.$http = axios
Vue.prototype.$qs = qs


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
